

#ifndef CardController_h__
#define CardController_h__

#include <stdint.h>
#include "Contactless/WCI.h"
#include "CardDefine.h"

typedef struct CardControllerStruct {
	int(*detect)(WCI* wci);
	int(*activate)(WCI* wci, uint8_t req, void* info);
	int(*deactivate)(WCI* wci, void* param);
}CardController;


int Controller_Detect(WCI* wci, uint8_t type);
int Controller_Activate(WCI* wci, uint8_t type, uint8_t req, void* info);
int Controller_Deactivate(WCI* wci, uint8_t type, void* param);

#endif // CardController_h__
